Page({

  /**
   * 页面的初始数据
   */
  data: {
    tit:"tit0",
    chooseKind: [
      { id: 988, title: "杂筋" },
      { id: 989, title: "肥牛" },
      { id: 990, title: "牛腱" },
      { id: 991, title: "牛肚" },
      { id: 992, title: "牛头" },
      { id: 993, title: "牛腩" },
      { id: 994, title: "牛排" },
      { id: 995, title: "牛舌" },
      { id: 996, title: "牛肠" },
      { id: 997, title: "牛杂" },
    ],
    list: [
      {
        id: 3122,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg"
        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      },
      {
        id: 3123,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [

        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      },
      {
        id: 3124,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg"
        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      },
      {
        id: 3125,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg"
        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      },
      {
        id: 3126,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg"
        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      },
      {
        id: 3128,
        headPic: "../../images/jpg/head_pic.jpg",
        title: "小晗-1337392205",
        tel: 13628367187,
        des: "专业生产鸡翅中，规格：20/30、30/40、40/50克，质量好价格低，诚招全国经销商，欢迎全国经销商，欢迎各位老板前来洽谈合作！15953633988（微信同号）",
        img: [
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg",
          "../../images/jpg/preview.jpg"
        ],
        addTime: "2018-02-19",
        address: "山东省潍坊市昌邑市新兴街",
        see: 3234,
        point: 33
      }
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    wx.setNavigationBarTitle({
      title: '牛类产品',
    })
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  },
  changeChooseKind(e) {
    this.setData({ tit: e.target.id });
  },
  point(e) {
    wx.showModal({
        title: '提示',
        content: '不能重复点赞',
    })
  }
  })